Semiconductor memory device and semiconductor memory device test method

ABSTRACT

A semiconductor memory device having a first memory block used when it is determined to be used in a first case, a second memory block used as an alternative of the first memory blocks when it is determined to be used in a second case, a write section that writes determination data into the first memory block for making a determination at the time of the determination and writes the determination data into the second memory block and a read section that reads the determination data written into the first memory block by the write section for making a determination at the time of the determination and reads the determination data written into the second memory block by the write section.

FIELD

The present invention relates to a semiconductor memory device having redundant cells that can be used as substitutes for ordinary memory cells and a semiconductor memory device test method.

BACKGROUND

With an increase in the memory capacity of an RAM (Random Access Memory), memory cell defect becomes a big problem. In a configuration in which all memory cells in an RAM are used, if any one of memory cells were to malfunction, the entire RAM becomes disabled. In order to cope with this, a configuration is adopted in which redundant cells, which are memory cells previously prepared as substitute for ordinarily used memory cells are provided in case any of the ordinary cells are defective memory cells. In this configuration, when a defective cell is found among the ordinary cells by a PT (Probe Test), a redundant cell is used in place of the defective cell. Such a technique has now widely been used so as to increase yield. The PT test is a test that is carried out by pressing a probe onto an electrode pad provided on each chip on the wafer. When an ordinary cell is replaced with a redundant cell, a fuse for supplying a cell selection signal is cut off.

A configuration of a conventional semiconductor memory device will be described below by separating it into a write structure and a read structure.

FIG. 8 is a block diagram showing an example of a write structure of a conventional semiconductor memory device. This semiconductor memory device includes a fuse decoder circuit 111, a memory block selection unit (MEM. BLOCK selection unit) 211, a column selection circuit (Col. Select) 311, memory blocks (MEM. BLOCK) M39, M38, . . . , M1, M0, MR, and latches WD39, WD38, . . . , WD1, WD0 for retaining write data. Each of the memory blocks has at least one memory cell. The 40 memory blocks M39, M38, . . . , M1, M0 are ordinary memory blocks, and one memory block MR is a redundant memory block (redundant MEM. BLOCK).

The memory block selection unit 211 includes 41 selectors. The selectors select an input according to corresponding control signals SR, S39, S38, . . . , S1, S0 output from the fuse decoder circuit 111 and outputs the selected input to corresponding memory blocks M39, M38, . . . , M1, M0, MR.

A selector corresponding to control signal SR selects VSS (indicating that a corresponding memory block is not used) or data of latch WD39 and writes the selected one into memory block M39. A selector corresponding to control signal S39 selects data of latch WD39 or data of latch WD38 and writes the selected one into memory block M38. Similarly, a selector corresponding to control signal S(i) (i is an integer number from 1 to 38) selects data of adjacent two latches, i.e., data of latch WD (i) or data of latch WD(i−1) and writes the selected one into memory block M(i−1) connected to the output thereof. A selector corresponding to control signal S0 selects data of latch WD0 or VSS (indicating that a corresponding memory block is not used) and writes the selected one into memory block M0.

The column selection circuit 311 selects a column corresponding to one of the memory blocks M39, M38, . . . , M1, M0, MR according to an instruction from an external device. Although not shown, the semiconductor memory device further includes a row selection circuit for selecting a row (memory cell) in each of the memory blocks M39, M38, . . . , M1, M0, MR according to an instruction from an external device.

FIG. 9 is a block diagram showing an example of a read structure of the conventional semiconductor memory device. In FIG. 9, the same reference numerals as those in FIG. 8 denote the same or corresponding parts as those in FIG. 8, and the descriptions thereof will be omitted here. As compared to the write structure shown in FIG. 8, the semiconductor memory device of FIG. 9 includes a memory block selection unit 212 in place of the memory block selection unit 211, a column selection circuit 312 in place of the column selection circuit 311, and latches RD39, RD38, . . . , RD1, RD0 for retaining read data in place of the latches WD39, WD38, . . . , WD1, WD0. The latches RD39, RD38, . . . , RD1, RD0 are connected to a scan chain in the order mentioned.

The memory block selection unit 212 includes 40 selectors. The selectors select an input according to corresponding control signals S39, S38, . . . , S1, S0 output from the fuse decoder circuit 111 and outputs the selected input to corresponding latches RD39, RD38, . . . , RD1, RD0.

A selector corresponding to control signal S39 selects data of memory block M39 and data of memory block M38 and writes the selected one into latch RD39. Similarly, a selector corresponding to control signal S(i) (i is an integer number from 0 to 38) selects data of adjacent two memory blocks, i.e., data of memory block M(i) or data of memory block M(i−1) and writes the selected one into latch RD(i) connected to the output thereof.

The column selection circuit 312 selects a column corresponding to one of the memory blocks M39, M38, . . . , M1, M0, MR. Although not shown, the semiconductor memory device further includes a row selection circuit for selecting a row in each of the memory blocks M39, M38, . . . , M1, M0, MR.

The fuse decoder circuit 111 decodes a FUSE signal from a not shown fuse circuit or an external device to generate the control signals SR, S39, S38, . . . , S1, S0, inputs the control signals SR, S39, S38, . . . , S1, S0 to respective selectors in the memory block selection unit 211 inputs the control signals S39, S38, . . . , S1, S0 to respective selectors 212 in the memory block selection unit.

In this semiconductor memory device, each of the memory blocks (ordinary memory blocks M0 to M39 constituted by ordinary cells and redundant memory block MR constituted by redundant cells) is constituted by a plurality of memory cells, and data is written into 1-bit memory cell selected by the column selection circuit 311 and row selection circuit and data is read out from 1-bit memory cell selected by the column selection circuit 312 and row selection circuit. Further, this semiconductor memory device has 1-bit redundant cell per 40-bit ordinary cell.

Operation of the semiconductor memory device at normal operation time where there is no defective cell in the ordinary memory block will be described.

At data write time, data of, e.g., latch WD39 is written into memory block M39. That is, data of latches WD39, WD38, . . . , WD1, WD0 are written into memory blocks M39, M38, . . . , M1, M0 along the paths of the memory block selection unit 211.

At data read time, data that has been written into memory block M39 is read out by latch RD39. That is, data of memory blocks M39, M38, . . . , M1, M0 are read by latches RD39, RD38, . . . , RD1, RD0 according to the operation of the memory block selection unit 212.

Operation of the semiconductor memory device at normal operation time where there is any defective cell in the ordinary memory block will be described.

Assuming that a defective cell exists in memory block M39 marked with diagonal lines in FIGS. 8 and 9, a FUSE signal specifying memory block M39 including the defective cell is input to the fuse decoder circuit 111, decoded, and then input to the memory block selection unit 211. Data of latch WD39 is written into memory block M38 through the memory block selection unit 211. That is, data of latches WD39, WD38, . . . , WD1, WD0 are written into memory blocks M38, M37, . . . , M1, M0, MR according to the operation of the memory block selection unit 211.

Similarly, a FUSE signal specifying memory block M39 including the defective cell is input to the fuse decoder circuit 111, decoded, and then input to the memory block selection unit 212. Data of memory block M38 is read out by latch RD39 through the memory block selection unit 212. That is, data of memory blocks M38, M37, . . . , M1, M0, MR are read out by latches RD39, RD38, . . . , RD1, RD0 according to the paths of the memory block selection unit 212.

The FUSE signal is generated by a not shown fuse circuit and is input to the fuse decoder circuit 111. In the case where a defective cell exists, a fuse in the fuse circuit that corresponds to the defective cell is cut off and, correspondingly, the fuse circuit generates the FUSE signal indicating the defective cell. The Fuse signal may be input from outside of the semiconductor memory device.

However, if a defect is found in the redundant cell which is supposed to relieve a defective cell, the defective cell cannot be relieved even if the fuse is cut off, resulting in a waste of man-hours. In order to avoid this, an operation test of the redundant cells is conducted before the cutting off of the fuse. In the case where an operation test of redundant cells is conducted before the cutting off of the fuse, two test methods are available.

In the first test method, an operation test of ordinary cells in which read/write operation is performed for ordinary cells is carried out in a state where there issued no indication of a defective cell by means of the FUSE signal to thereby detect a defective cell, and then a FUSE signal is given from outside so that the defective cell is switched to a redundant cell, followed by a redundant cell test in which read/write operation is performed for the redundant cells. In the second test method, an ordinary cell test is carried out first and then, irrespective of presence/absence of a defective cell, an access is forcibly made to redundant cells by means of the FUSE signal from outside to carry out a redundant cell test.

In the ordinary cell test and redundant cell test, data of latches RD39, RD38, . . . , RD1, RD0 are read out through the scan chain and then compared to data of latches WD39, WD38, . . . , WD1, WD0 that have been used for write operation, whereby it is determined whether respective cells are normal or not.

Japanese Laid-Open Patent Publication No. 08-161897 discloses a semiconductor memory device having error correction function capable of writing desired data into both data bit and redundant bit for test purpose.

SUMMARY

According to an aspect of the invention, a semiconductor memory device having a first memory block used when it is determined to be used in a first case, a second memory block used as an alternative of the first memory blocks when it is determined to be used in a second case, a write section that writes determination data into the first memory block for making a determination at the time of the determination and writes the determination data into the second memory block and a read section that reads the determination data written into the first memory block by the write section for making a determination at the time of the determination and reads the determination data written into the second memory block by the write section.

BRIEF DESCRIPTION OF DRAWINGS

FIG. 1 is a block diagram showing an example of a write structure of a semiconductor memory device according to a first embodiment of the present invention;

FIG. 2 is a block diagram showing an example of a read structure of the semiconductor memory device according to the first embodiment;

FIG. 3 is a block diagram showing an example of a write structure of a semiconductor memory device according to a second embodiment of the present invention;

FIG. 4 is a block diagram showing an example of a read structure of the semiconductor memory device according to the second embodiment;

FIG. 5 is a block diagram showing an example of a write structure of a semiconductor memory device according to a third embodiment of the present invention;

FIG. 6 is a block diagram showing an example of a read structure of the semiconductor memory device according to the third embodiment;

FIG. 7 is a block diagram showing an example of a read structure of a semiconductor memory device according to a fourth embodiment of the present invention;

FIG. 8 is a block diagram showing an example of a write structure of a conventional semiconductor memory device; and

FIG. 9 is a block diagram showing an example of a read structure of a conventional semiconductor memory device.

DESCRIPTION OF EMBODIMENTS

Embodiments of the present invention will be described below with reference to the accompanying drawings.

First Embodiment

A configuration of a semiconductor memory device according to the present embodiment will be described below by separating it into a write structure and a read structure.

FIG. 1 is a block diagram showing an example of a write structure of a semiconductor memory device according to the present invention. In FIG. 1, the same reference numerals as those in FIG. 8 denote the same or corresponding parts as those in FIG. 8, and the descriptions thereof will be omitted here. As compared to the write structure shown in FIG. 8, the semiconductor memory device of FIG. 1 includes a memory block selection unit 221 in place of the memory block selection unit 211. The memory block selection unit 221 has 40 selectors and does not require a selector corresponding to control signal S0 in the memory block selection unit 211. That is, memory block MR and latch WD0 are directly connected to each other.

FIG. 2 is a block diagram showing an example of a read structure of the semiconductor memory device according to the present embodiment. In FIG. 2, the same reference numerals as those in FIG. 9 denote the same or corresponding parts as those in FIG. 9, and the descriptions thereof will be omitted here. As compared to the read structure shown in FIG. 9, the semiconductor memory device of FIG. 1 newly includes a latch RED. The latch RED latches data read out from memory block MR. Further, the latch RED is connected to a scan chain constituted by latches RD39, RD38, . . . , RD1, RD0 at the output of the RD0.

With the above configuration, data of latch WD0 is always written into memory block MR (redundant memory block) in write test as shown in FIG. 1. Further, data of memory block MR is always read out to the latch RED in read test as shown in FIG. 2. If both the memory blocks M0 and MR are not defective, the same data is supposed to be always latched to the latches RED and RD0. Further, by incorporating latch RED into the scan chain, it is possible to read out data of latches RD39, RD38, . . . , RD1, RD0 together with data of latch RED in the same manner as the ordinary cell test. That is, a cell test combining the ordinary cell test and redundant cell test can be completed in a single write/read operation.

Operation of the semiconductor memory device according to the present embodiment at the test time will be described.

In the same manner as in the conventional ordinary cell test, data of latches WD39, WD38, . . . , WD1, WD0 are written into memory blocks M39, M38, . . . , M1, M0, MR (write step). Subsequently, data of memory blocks M39, M38, . . . , M1, M0, MR are read out to latches RD39, RD 38, . . . , RD1, RD0, RED (read step). Then, data of latches WD39, WD38, . . . , WD1, WD0 and data of latches RD39, RD 38, . . . , RD1, RD0 are compared to determine whether ordinary memory blocks (memory blocks M39, M38, . . . , M1, M0) are operating normally or not (determination step). That is, when the write data and read data into/from a given memory block coincide with each other, the relevant memory block is determined to be normal. Then, data of latch RED and data of latch RE0 are compared to determine whether the redundant memory block (memory block MR) is operating normally or not.

In the case where memory block M0 is determined to be normal in the ordinary memory block determination step and where the data of latch RED and data of latch RD0 coincide with each other, memory block MR is determined to be normal. In the case where memory block M0 is determined to be normal in the ordinary memory block determination step and where the data of latch RED and data of latch RD0 do not coincide with each other, memory block MR is determined to be abnormal.

Further, in the case where memory block M0 is determined to be abnormal in the ordinary memory block determination step and where the data of latch RED and data of latch RD0 do not coincide with each other, memory block MR is determined to be normal. Further, in the case where memory block M0 is determined to be abnormal in the ordinary memory block determination step and where the data of latch RED and data of latch RD0 coincide with each other, memory block MR is determined to be abnormal.

A configuration is possible in which latch RED is not connected to the scan chain and only the latch RED is output outside through a different output terminal.

According to the present embodiment, data can be written into both the ordinary memory blocks and redundant memory block at the same time, data can be read from both the ordinary memory blocks and redundant memory block, whereby an operation test of the ordinary memory blocks and operation test of the redundant memory block can be performed at the same time. This therefore eliminates the need to control the FUSE signal between the ordinary cell test and redundant cell test, which has been desired in the conventional semiconductor memory device. Further, the interface with the outside of the macro is the same as that in the conventional semiconductor device as shown in FIGS. 8 and 9 to which the present invention is not applied. Thus, it is possible to achieve a configuration enabling the ordinary cell test and redundant cell test to be performed at the same time without influencing the designs of its external devices.

Second Embodiment

A configuration of a semiconductor memory device according to the present embodiment will be described below by separating it into a write structure and a read structure.

FIG. 3 is a block diagram showing an example of a write structure of a semiconductor memory device according to the present invention. In FIG. 3, the same reference numerals as those in FIG. 1 denote the same or corresponding parts as those in FIG. 1, and the descriptions thereof will be omitted here. As shown in FIG. 3, memory block MR is disposed between memory blocks M19 and M20. As compared to the write structure shown in FIG. 1, the semiconductor memory device of FIG. 3 includes a memory block selection unit 231 in place of the memory block selection unit 221 and a column selection circuit 331 in place of the column selection circuit 311.

The memory block selection unit 231 has 41 selectors. The selectors select an input according to corresponding control signals SR, S39, S38, . . . , S1, S0 output from the fuse decoder circuit 111 and outputs the selected input to corresponding memory blocks M39, M38, . . . , M1, M0, MR.

A selector corresponding to control signal S39 selects VSS (indicating that a corresponding memory block is not used) or data of latch WD39 and writes the selected one into memory block M39. A selector corresponding to control signal S(i) (i is an integer number from 20 to 38) selects data of latch WD(i+1) or data of latch WD(i) and writes the selected one into memory block M(i). A selector corresponding to control signal SR selects data of latch WD20 or data of latch WD19 and writes the selected one into memory block MR. A selector corresponding to control signal S(i) (i is an integer number from 1 to 19) selects data of latch WD (i) or data of latch WD(i−1) and writes the selected one into memory block M(i). A selector corresponding to control signal S0 selects data of latch WD0 or VSS (indicating that a corresponding memory block is not used) and writes the selected one into memory block M0.

FIG. 4 is a block diagram showing an example of a read structure of a semiconductor memory device according to the present invention. In FIG. 4, the same reference numerals as those in FIG. 2 denote the same or corresponding parts as those in FIG. 2, and the descriptions thereof will be omitted here. As shown in FIG. 4, memory block MR is disposed between memory blocks M19 and M20. As compared to the read structure shown in FIG. 2, the semiconductor memory device of FIG. 4 includes a memory block selection unit 232 in place of the memory block selection unit 212 and a column selection circuit 332 in place of the column selection circuit 312. Latch RED is connected to the scan chain at the position between latches RD20 and RD19.

The memory block selection unit 232 includes 40 selectors. The selectors select an input according to corresponding control signals S39, S38, . . . , S1, S0 output from the fuse decoder circuit 111 and outputs the selected input to corresponding latches RD39, RD38, . . . , RD1, RD0.

A selector corresponding to control signal S(i) (i is an integer number from 21 to 39) selects data of memory block M (i) or data of memory block M (i−1) and outputs the selected one to latch RD(i). A selector corresponding to control signal S20 selects data of memory block M20 or data of memory block MR and outputs the selected one to latch RD20. A selector corresponding to control signal S19 selects data of memory block MR or data of memory block M19 and outputs the selected one to latch RD19. A selector corresponding to control signal S(i) (i is an integer number from 0 to 18) selects data of memory block M (i+1) or data of memory block M (i) and outputs the selected one to latch RD(i).

With the above configuration, a predetermined one of data of latch WD19 and data of latch WD20 is always written into memory block MR (redundant memory block) in write test as shown in FIG. 3. Further, data of memory block MR is always read out to the latch RED in read test as shown in FIG. 4. Here, a case where data of WD19 is written into memory block MR will be described. In the case where data of latch WD19 and data of latch RD19 coincide with each other after write/read operation, memory block M19 is determined to be normal. In the case where memory block M19 is determined to be normal and where data of latch RED and data of latch RD19 coincide with each other, memory block MR is determined to be normal.

According to the present embodiment, the redundant memory block can be disposed between two ordinary memory blocks, whereby it is possible to perform a test of the redundant memory block by using one of the two ordinary memory blocks.

Third Embodiment

A configuration of a semiconductor memory device according to the present embodiment will be described below by separating it into a write structure and a read structure.

FIG. 5 is a block diagram showing an example of a write structure of a semiconductor memory device according to the present invention. In FIG. 5, the same reference numerals as those in FIG. 1 denote the same or corresponding parts as those in FIG. 1, and the descriptions thereof will be omitted here. As shown in FIG. 5, memory block MR1 is disposed outside relative to memory block M39, and memory block MR0 is disposed outside relative to memory block M0. As compared to the write structure shown in FIG. 1, the semiconductor memory device of FIG. 5 includes a memory block selection unit 241 in place of the memory block selection unit 221 and a column selection circuit 341 in place of the column selection circuit 311.

The memory block selection unit 241 has 40 selectors. The selectors select an input according to corresponding control signals S39, S38, . . . , S1, S0 output from the fuse decoder circuit 111 and outputs the selected input to corresponding memory blocks M39, M38, . . . , M1, M0.

A selector corresponding to control signal S39 is a 2-input selector and selects data of latch WD39 or data of latch WD38 and writes the selected one into memory block M39. A selector corresponding to control signal S(i) (i is an integer number from 1 to 38) is a 3-input selector and selects data of latch WD (i+1), data of latch WD(i), or data of latch WD (i−1) and writes the selected one into memory block M(i). A selector corresponding to control signal S0 is a 2-input selector and selects data of latch WD1 or data of latch WD0 and writes the selected one into memory block M0.

FIG. 6 is a block diagram showing an example of a read structure of a semiconductor memory device according to the present invention. In FIG. 6, the same reference numerals as those in FIG. 2 denote the same or corresponding parts as those in FIG. 2, and the descriptions thereof will be omitted here. As shown in FIG. 6, memory block MR1 is disposed outside relative to memory block M39, and memory block MR0 is disposed outside relative to memory block M0. As compared to the read structure shown in FIG. 2, the semiconductor memory device of FIG. 6 includes a memory block selection unit 242 in place of the memory block selection unit 212, a column selection circuit 342 in place of the column selection circuit 312 and latches RED0 and RED1 in place of latch RED. Latch RED0 is connected to the scan chain at the upstream stage of the latch RD39, and latch RED1 is connected to the scan chain at the downstream stage of the latch RD0.

The memory block selection unit 242 includes 40 selectors. The selectors, which are 3-input selectors, select an input according to corresponding control signals S39, S38, . . . , S1, S0 output from the fuse decoder circuit 111 and outputs the selected input to corresponding latches RD39, RD38, . . . , RD1, RD0.

A selector corresponding to control signal S39 selects data of memory block MR1, data of memory block M39, or data of memory block M38 and outputs the selected one to latch RD39. A selector corresponding to control signal S(i) (i is an integer number from 1 to 38) selects data of memory block M (i+1), data of memory block M (i) or data of memory block M (i−1) and outputs the selected one to latch RD(i). A selector corresponding to control signal S0 selects data of memory block M1, data of memory block M0, or data of memory block MR0 and outputs the selected one to latch RD0.

With the above configuration, data of latch WD39 is always written into memory block MR1 in write test as shown in FIG. 5, and data of latch WD0 is always written into memory block MR0. Further, data of memory block MR1 is always written into latch RED1 in write test as shown in FIG. 6, and data of memory block MR0 is always written into latch RED0.

In the case where data of latch WD39 and data of latch RD39 coincide with each other after write/read operation, memory block M39 is determined to be normal. In the case where memory block M39 is determined to be normal and where data of latch RED1 and data of latch RD39 coincide with each other, memory block MR1 is determined to be normal. Similarly, in the case where data of latch WD0 and data of latch RD0 coincide with each other, memory block M0 is determined to be normal. In the case where memory block M0 is determined to be normal and where data of latch RED0 and data of latch RD0 coincide with each other, memory block MR0 is determined to be normal.

According to the present invention, two redundant memory blocks can be used to thereby cope with a case where defect occurs in two ordinary memory blocks. Further, an operation test of two redundant memory blocks can be performed simultaneously with an operation test of ordinary memory blocks.

Fourth Embodiment

A configuration of a semiconductor memory device according to the present embodiment will be described below by separating it into a write structure and a read structure.

A write structure of the semiconductor memory device according to the present embodiment is the same as that of the first embodiment.

FIG. 7 is a block diagram showing an example of a read structure of a semiconductor memory device according to the present invention. In FIG. 7, the same reference numerals as those in FIG. 2 denote the same or corresponding parts as those in FIG. 2, and the descriptions thereof will be omitted here. Unlike the read is structure shown in FIG. 2, in the semiconductor memory device of FIG. 7, memory block MR and latch RED are not directly connected to each other but connected through an EXNOR (Exclusive Not OR) unit 411. The EXNOR unit 411 has two inputs connected to memory blocks M0 and MR and has one output connected to latch RED.

The configuration described above is used to determine whether the ordinary memory blocks are operating normally or not in the same manner as in the first embodiment.

In the case where memory block M0 is determined to be normal in the ordinary memory block determination step and where data of latch RED is 1, memory block MR is determined to be normal. In the case where memory block M0 is determined to be normal in the ordinary memory block determination step and where the data of latch RED is 0, memory block MR is determined to be abnormal.

In the case where memory block M0 is determined to be abnormal in the ordinary memory block determination step and where data of latch RED is 0, memory block MR is determined to be normal. In the case where memory block M0 is determined to be abnormal in the ordinary memory block determination step and where the data of latch RED is 1, memory block MR is determined to be abnormal.

According to the present embodiment, it is possible to obtain, through the scan chain, readout data from ordinary memory blocks, as well as, a comparison result between the readout data from the ordinary memory block and readout data from the redundant memory block, thereby eliminating the need to perform the comparison using an external device.

A first memory block corresponds to the ordinary memory block in the above embodiments. A second memory block corresponds to the redundant memory block in the above embodiments. A selection section corresponds to the selector in the above embodiments. A comparison section corresponds to the EXNOR unit in the above embodiments. A write latch corresponds to each of the latches WD39, WD38, . . . , WD1, WD0 in the above embodiments. A read latch corresponds to each of the latches RD39, RD38, . . . , RD1, RD0, RED or each of the latches RD39, RD38, . . . , RD1, RD0, RED1, RED0 according to the above embodiments.

The semiconductor memory device according to the present embodiments can easily be applied to a semiconductor memory to thereby increase the performance thereof. Examples of the semiconductor memory include an RAM, a flash memory, and the like. 

1. A semiconductor memory device comprising: a first memory block used when it is determined to be used in a first case; a second memory block used as an alternative of the first memory blocks when it is determined to be used in a second case; a write section that writes determination data into the first memory block for making a determination at the time of the determination and writes the determination data into the second memory block; and a read section that reads the determination data written into the first memory block by the write section for making a determination at the time of the determination and reads the determination data written into the second memory block by the write section.
 2. The semiconductor memory device according to claim 1, characterized in that a case where the determination data written into the first memory block by the write section and determination data read out from the first memory block by the read section coincide with each other is determined to be the first case, and a case where the determination data written into the first memory block by the write section and determination data read out from the first memory block by the read section do not coincide with each other is determined to be the second case.
 3. The semiconductor memory device according to claim 1, characterized in that the write section has a plurality of write latches that retain write data and a write selection section that selects any one of the write latches according to an instruction from an external device and outputs data of the selected write latch to the first memory block or second memory block, and the read section has a plurality of read latches that retain readout data and a read selection section that selects the first memory block or second memory block according to an instruction from an external device and outputs data of the selected memory block to the read latch.
 4. The semiconductor memory device according to claim 3, characterized in that the plurality of read latches are connected to each other in a scan chain.
 5. The semiconductor memory device according to claim 3, characterized in that the write section always outputs data of a write latch to a corresponding second memory block at the write time, and the read section always outputs data of a second memory block to a corresponding read latch at the read time.
 6. The semiconductor memory device according to claim 1, characterized by further comprising: a comparison section that compares the determination data read out from the first memory block by the read section and determination data read out from the second memory block by the read section.
 7. The semiconductor memory device according to claim 1, characterized in that the first memory block is one memory block of one or more memory blocks prepared for being used as the first memory block, and the second memory block is one memory block of one or more memory blocks prepared for being used as the second memory block.
 8. The semiconductor memory device according to claim 1, characterized in that each of the first and second memory blocks is constituted by a plurality of memory cells, and one memory cell is selected from the plurality of memory cells according to a selection signal from an external device so as to be subjected to write operation by the write section or read operation by the read section.
 9. A semiconductor memory device test method that performs a test of a semiconductor memory device including a first memory block used when it is determined to be used in a first case and a second memory block used as an alternative of the first memory blocks when it is determined to be used in a second case, having steps of: writings determination data into the first memory block for making a determination at the time of the determination; writing the determination data into the second memory block; reading the determination data written into the first memory block by the write section for making a determination at the time of the determination; and reading the determination data written into the second memory block by the write section.
 10. The semiconductor memory device test method according to claim 9, further comprising a steps of determining a case where the determination data written into the first memory block by the writing and determination data read out from the first memory block by the reading coincide with each other to be the first case and a case where the determination data written into the first memory block by the write section and determination data read out from the first memory block by the read section do not coincide with each other to be the second case.
 11. The semiconductor memory device test method according to claim 9, characterized in that any one of a plurality of write latches for retaining write data is selected and data of the selected write latch to the first memory block or second memory block is output by the writing, and the first memory block or second memory block is selected and data of the selected memory block to any one of a plurality of read latches for retaining read data is output by the reading.
 12. The semiconductor memory device test method according to claim 11, characterized in that data of the plurality of read latches connected in a scan chain is read out by the reading.
 13. The semiconductor memory device test method according to claim 11, characterized in that data of a write latch to a corresponding second memory block at the write time is always output by the writing, and data of a second memory block to a corresponding read latch at the read time is always output by the reading.
 14. The semiconductor memory device test method according to claim 9, further comprising a step of comparing the determination data read out from the first memory block by the reading and determination data read out from the second memory block by the reading.
 15. The semiconductor memory device test method according to claim 9, characterized in that the first memory block is one memory block of one or more memory blocks prepared for being used as the first memory block, and the second memory block is one memory block of one or more memory blocks prepared for being used as the first memory block.
 16. The semiconductor memory device test method according to claim 9, characterized in that each of the first and second memory blocks is constituted by a plurality of memory cells, and one memory cell is selected from the plurality of memory cells according to a selection signal from an external device so as to be subjected to write operation by the write section or read operation by the read section. 